package cn.j229.bug.zhongxuan.eureka_service_ribbon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author smile_ZhongXuan
 * @Date 2020/10/29 10:35
 * @Version 1.0
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient      // 作用：发现业务模块
public class EurekaRibbonApp {
    public static void main(String[] args) {
        SpringApplication.run(EurekaRibbonApp.class, args);
    }

}
